package cn.com.dycc.task_manage.ordermain.entity;

import java.io.Serializable;
import java.util.List;

import cn.com.dycc.task_manage.orderdeal.entity.OrderDealEntity;

public class UserOrderEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3127915890157044990L;
	
	private OrderMainEntity orderMainEntity; 		//主表和附件
	private List<OrderDealEntity> listOrderDealEntity;			//从表
	
	public UserOrderEntity(){}

	

	public UserOrderEntity(OrderMainEntity orderMainEntity, List<OrderDealEntity> listOrderDealEntity) {
		super();
		this.orderMainEntity = orderMainEntity;
		this.listOrderDealEntity = listOrderDealEntity;
	}



	public List<OrderDealEntity> getListOrderDealEntity() {
		return listOrderDealEntity;
	}



	public void setListOrderDealEntity(List<OrderDealEntity> listOrderDealEntity) {
		this.listOrderDealEntity = listOrderDealEntity;
	}



	public OrderMainEntity getOrderMainEntity() {
		return orderMainEntity;
	}

	public void setOrderMainEntity(OrderMainEntity orderMainEntity) {
		this.orderMainEntity = orderMainEntity;
	}

	
	@Override
	public String toString() {
		return "UserOrderEntity [orderMainEntity=" + orderMainEntity + ", listOrderDealEntity=" + listOrderDealEntity
				+ "]";
	}
	
	

}
